/** <a href="http://www.cpupk.com/decompiler">Eclipse Class Decompiler</a> plugin, Copyright (c) 2017 Chen Chao. **/
package com.minierp.dao.hibernate;

import com.minierp.dao.BaseDao;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public abstract class BaseDaoImpl extends HibernateDaoSupport
		implements
			BaseDao {
	public Object get(Class c, long id) {
		return this.getHibernateTemplate().get(c, new Long(id));
	}

	public void save(Object o) {
		this.getHibernateTemplate().save(o);
	}

	public void update(Object o) {
		this.getHibernateTemplate().update(o);
	}
}